<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/bpmapp.tld" prefix="ssp" %>

<% String ctPath = request.getContextPath(); %>

<jsp:useBean id="bv_user_logged_in" scope="session" class="java.lang.String" />

<div class="block">

  <logic:equal name="bv_user_logged_in" value="true">

  <div class="menuBlocktitle">
    <span><bean:message bundle="appCommonRes" key="bp.processes" /></span>
  </div>

  <ssp:listProcessesByCategory id="categoryList" categoryPath = "/Process A" recurseCategory = "true" includeEmptyCategories = "true" hostPage="/loginPage.do" exitURL="/loginPage.do" />

   <div class="menuBlockWrap">
   <logic:iterate id="categoryItem" name="categoryList" >
     <div class="browseCat">

         <bean:write name="categoryItem" property="categoryName" />&nbsp;
         <bean:write name="categoryItem" property="categoryPath" />&nbsp;
         <logic:iterate id="process" name="categoryItem" property="processInfo" >
           <a href="<bean:write name="process" property="URL" filter="false"/>"><bean:write name="process" property="name"/></a>&nbsp;
           <bean:write name="process" property="description"/>
         </logic:iterate>

      </div>
   </logic:iterate>

   </div>

 </logic:equal>
</div>